package test.exception;

public class App {
	
	public static void main(String[] args) {
		try {
			test();
		} catch (MyException e) {
			System.out.println(e.getMessage());
		}
	}
	
	static void test() throws MyException {
		throw new MyException("hello");
	}

}
